package com.okyai.kt.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.okyai.common.annotation.Excel;
import com.okyai.common.core.domain.BaseEntity;

/**
 * 项目方案组对象 kt_topic_plan
 * 
 * @author okyai
 * @date 2021-03-20
 */
public class TopicPlan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 方案主键 */
    private Long planId;

    /** 课题主键 */
    @Excel(name = "课题主键")
    private Long topicId;

    /** 项目组顺序 */
    @Excel(name = "项目组顺序")
    private Long planSort;

    /** 方案类型 */
    @Excel(name = "方案类型")
    private String planType;

    /** 方案名称 */
    @Excel(name = "方案名称")
    private String planName;

    /** 执行日期类型 */
    @Excel(name = "执行日期类型")
    private String doDateType;

    /** 执行日期间隔 */
    @Excel(name = "执行日期间隔")
    private Long doDate;

    /** 误差天数 */
    @Excel(name = "误差天数")
    private Long errorDate;
    
    private String items;
    
    public void setPlanId(Long planId) 
    {
        this.planId = planId;
    }

    public Long getPlanId() 
    {
        return planId;
    }
    public void setTopicId(Long topicId) 
    {
        this.topicId = topicId;
    }

    public Long getTopicId() 
    {
        return topicId;
    }
    public void setPlanSort(Long planSort) 
    {
        this.planSort = planSort;
    }

    public Long getPlanSort() 
    {
        return planSort;
    }
    public void setPlanType(String planType) 
    {
        this.planType = planType;
    }

    public String getPlanType() 
    {
        return planType;
    }
    public void setPlanName(String planName) 
    {
        this.planName = planName;
    }

    public String getPlanName() 
    {
        return planName;
    }
    public void setDoDateType(String doDateType) 
    {
        this.doDateType = doDateType;
    }

    public String getDoDateType() 
    {
        return doDateType;
    }
    public void setDoDate(Long doDate) 
    {
        this.doDate = doDate;
    }

    public Long getDoDate() 
    {
        return doDate;
    }
    public void setErrorDate(Long errorDate) 
    {
        this.errorDate = errorDate;
    }

    public Long getErrorDate() 
    {
        return errorDate;
    }
    
    public String getItems() {
		return items;
	}

	public void setItems(String items) {
		this.items = items;
	}

	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("planId", getPlanId())
            .append("topicId", getTopicId())
            .append("planSort", getPlanSort())
            .append("planType", getPlanType())
            .append("planName", getPlanName())
            .append("doDateType", getDoDateType())
            .append("doDate", getDoDate())
            .append("errorDate", getErrorDate())
            .toString();
    }
}
